const router = require('express').Router();
const { 
  RecommendFriend, 
  AddFriends, 
  GetApplyfriends, 
  Rejectfriends, 
  ConfirmFriends,
  Getfriendslist, 
  GetfriendDetil,
  ChangeFriendsCommend,
  DeleteFriend,
  Getlist,
  Userdetil
} = require("../../controller/http/friends.js");

router.post("/recommend", RecommendFriend);
router.post("/addfriend", AddFriends);
router.get("/applyfriends", GetApplyfriends);
router.post("/rejectfriends", Rejectfriends)
router.post("/confirm", ConfirmFriends);
router.get("/friendslist", Getfriendslist)
router.get("/detil",GetfriendDetil)
router.post("/changecommend",ChangeFriendsCommend)
router.post("/delete",DeleteFriend)
router.post("/getlist",Getlist)
router.post("/friendUserdetil",Userdetil)
module.exports = router